package com.bridgeintelligent.tag.engine.mvc.test;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by JackCheung on 2019/10/10 3:57 PM.
 */
@Api(tags = "引擎查询造数模块")
@AllArgsConstructor
@RestController
@RequestMapping(value = "/api/engine/dataTest")
public class EngineDataTestContoller {

    private EngineDataTestService engineDataTestService;

    //    private HandlerInterceptorTest handlerInterceptorTest;
    @ApiOperation(value = "造数模块", notes = "引擎查询造数模块")
    @GetMapping("/dataSet")
    public Object dataSet(String indexName) {
        int count = 1000;
//        engineDataTestService.dataHandler(count, indexName);
//        throw new NullPointerException();
        return "success";
    }
}
